package StudentCourse;

public class Student {
    //学生编号
    private String id;
    //学生姓名
    private String name;
    //学生性别
    private String sex;
    //所选课程
    private String courseSelect;

    public Student(String student_id, String student_name, String student_sex, String Student_courseSelect){

        this.id = student_id;
        this.name = student_name;
        this.sex = student_sex;
        this.courseSelect = Student_courseSelect;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getCourseSelect() {
        return courseSelect;
    }

    public void setCourseSelect(String courseSelect) {
        this.courseSelect = courseSelect;
    }

    public void classStudent(){
        System.out.println("学生" + name + "在" + Courses.address + "上" + Courses.time + Teacher.name + "老师的" + Courses.name +  "课");
    }



}
